export const columns = [
    {
        title: '创建时间',
        dataIndex: 'createTime',
        key: 'createTime',
        align: 'center',
        width: '180px'
    },
    {
        title: '奖励类型',
        dataIndex: 'type',
        key: 'type',
        align: 'center',
        scopedSlots: { customRender: 'type' },
    },
    {
        title: '优惠券名称',
        dataIndex: 'name',
        key: 'name',
        align: 'center',
    },
    {
        title: '优惠券金额',
        dataIndex: 'amount',
        key: 'amount',
        scopedSlots: { customRender: 'amount' },
        align: 'center',
    },
    {
        title: '使用条件',
        dataIndex: 'requirement',
        key: 'requirement',
        scopedSlots: { customRender: 'requirement' },
        align: 'center',
    },
    {
        title: '有效期',
        dataIndex: 'validTime',
        key: 'validTime',
        scopedSlots: { customRender: 'validTime' },
        align: 'center',
    },
    {
        title: '状态',
        dataIndex: 'status',
        key: 'status',
        align: 'center',
        scopedSlots: { customRender: 'status' },
    },
    {
        title: '操作',
        key: 'id',
        dataIndex: 'id',
        scopedSlots: { customRender: 'operation' },
        align: 'center',
        width: '180px',
    },
]